package com.lemner.www.hongyu.Bean;


import java.io.Serializable;
import java.util.List;

/**
 * Created by 小博 on 2017/10/11.
 */

public class Userbean implements Serializable{
    private String retCode;
    private String errCode;
    private String errMsg;
    private DataBean data;
    public String getRetCode() {
        return retCode;
    }
    public void setRetCode(String retCode) {
        this.retCode = retCode;
    }
    public String getErrCode() {
        return errCode;
    }
    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }
    public String getErrMsg() {
        return errMsg;
    }
    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
    public DataBean getData() {
        return data;
    }
    public void setData(DataBean data) {
        this.data = data;
    }
    public static class DataBean implements Serializable {
        private UserBean user;
        public UserBean getUser() {
            return user;
        }
        public void setUser(UserBean user) {
            this.user = user;
        }
        public static class UserBean implements Serializable{
            private int worker_id;
            private String username;
            private String phone;
            private String card_id;
            private String home_address;
            private String upic;
            private int evaluation;
            private List<CommunityDataBean> community_data;
            public int getWorker_id() {
                return worker_id;
            }
            public void setWorker_id(int worker_id) {
                this.worker_id = worker_id;
            }
            public String getUsername() {
                return username;
            }
            public void setUsername(String username) {
                this.username = username;
            }
            public String getPhone() {
                return phone;
            }
            public void setPhone(String phone) {
                this.phone = phone;
            }
            public String getCard_id() {
                return card_id;
            }
            public void setCard_id(String card_id) {
                this.card_id = card_id;
            }
            public String getHome_address() {
                return home_address;
            }
            public void setHome_address(String home_address) {
                this.home_address = home_address;
            }
            public String getUpic() {
                return upic;
            }
            public void setUpic(String upic) {
                this.upic = upic;
            }
            public int getEvaluation() {
                return evaluation;
            }
            public void setEvaluation(int evaluation) {
                this.evaluation = evaluation;
            }
            public List<CommunityDataBean> getCommunity_data() {
                return community_data;
            }
            public void setCommunity_data(List<CommunityDataBean> community_data) {
                this.community_data = community_data;
            }
            public static class CommunityDataBean implements Serializable {
                private int community_id;
                private String community_name;
                public int getCommunity_id() {
                    return community_id;
                }
                public void setCommunity_id(int community_id) {
                    this.community_id = community_id;
                }
                public String getCommunity_name() {
                    return community_name;
                }
                public void setCommunity_name(String community_name) {
                    this.community_name = community_name;
                }
            }
        }
    }
}
